
package org.soekrat.gui.swing.textcloud;

import java.awt.Color;

/**
 * <p>
 *   Interface for text to be rendered in a 
 *   {@link TextCloud}.
 * </p>
 * @author Arne Halvorsen (AH)
 */
public interface CloudText 
{
  /**
   * <p>
   *   Gets text to render.
   * </p>
   * @return Text.
   */
  String getText();
  
  /**
   * <p>
   *   Gets weight of {@code this} text.
   * </p>
   * @return Weight.
   */
  float getWeight();
  
  /**
   * <p>
   *   Gets color to render text with.
   * </p>
   * @return Color.
   */
  Color getColor();
  
}
